using System.Collections.Generic;

namespace LiJ.Framework.Msg.Mos
{
	/// <summary>
	/// 回复图片消息
	/// </summary>
	public class WxImageReplyMsg : WxBaseReplyMsg
	{
		/// <summary>
		/// 通过素材管理接口上传多媒体文件，得到的id。
		/// </summary>
		public string MediaId
		{
			get;
			set;
		}

		/// <inheritdoc />
		public WxImageReplyMsg()
		{
			base.MsgType = "image";
		}

		/// <inheritdoc />
		protected override void SetValueToXml()
		{
			Dictionary<string, object> obj = new Dictionary<string, object>
			{
				{
					"MediaId",
					(object)this.MediaId
				}
			};
			Dictionary<string, object> dictionary = (Dictionary<string, object>)(base["Image"] = obj);
		}
	}
}
